package com.higold.cloud.mvp.model.bean.regionalList

import com.chad.library.adapter.base.entity.AbstractExpandableItem
import com.chad.library.adapter.base.entity.MultiItemEntity
import com.higold.cloud.ui.adapter.RegionalAdapter
import java.io.Serializable

data class Data(
        val saleAmount: Double,
        val missionAmount: Double,
        val saleman: String,
        val shortName: String,
        val saleman_id: String,
        val child: List<Child>
) : Serializable, AbstractExpandableItem<Child>(), MultiItemEntity {

    override fun getLevel(): Int {
        return RegionalAdapter.TYPE_LEVEL_0
    }

    override fun getItemType(): Int {
        return 0
    }
}